#pragma once

#include "ControlFlow.h"


namespace uml {

ControlFlow::ControlFlow(const QString& umlType)
    : ActivityEdge(umlType) {}

void ControlFlow::fromJson(const QJsonObject& json, QStringList& errorList) {
    if (json.isEmpty()) {
        return;
    }

    ActivityEdge::fromJson(json, errorList);
}

void ControlFlow::toJson(QJsonObject& json) {
    ActivityEdge::toJson(json);
}

} // namespace uml
